Optimal. Leaf size=303 \[ \frac{1}{7} d^2 x^3 \left (c^2 x^2+1\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{4}{35} d^2 x^3 \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{16 b d^2 x^2 \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )}{315 c}-\frac{2 b d^2 \left (c^2 x^2+1\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{2 b d^2 \left (c^2 x^2+1\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{175 c^3}+\frac{8 b d^2 \left (c^2 x^2+1\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )}{105 c^3}+\frac{32 b d^2 \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )}{315 c^3}+\frac{8}{105} d^2 x^3 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{2}{343} b^2 c^4 d^2 x^7+\frac{136 b^2 c^2 d^2 x^5}{6125}-\frac{1636 b^2 d^2 x}{11025 c^2}+\frac{818 b^2 d^2 x^3}{33075} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.594148, antiderivative size = 303, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 11, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.423, Rules used = {5744, 5661, 5758, 5717, 8, 30, 266, 43, 5732, 12, 373} \[ \frac{1}{7} d^2 x^3 \left (c^2 x^2+1\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{4}{35} d^2 x^3 \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{16 b d^2 x^2 \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )}{315 c}-\frac{2 b d^2 \left (c^2 x^2+1\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{2 b d^2 \left (c^2 x^2+1\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{175 c^3}+\frac{8 b d^2 \left (c^2 x^2+1\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )}{105 c^3}+\frac{32 b d^2 \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )}{315 c^3}+\frac{8}{105} d^2 x^3 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{2}{343} b^2 c^4 d^2 x^7+\frac{136 b^2 c^2 d^2 x^5}{6125}-\frac{1636 b^2 d^2 x}{11025 c^2}+\frac{818 b^2 d^2 x^3}{33075} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5744
Rule 5661
Rule 5758
Rule 5717
Rule 8
Rule 30
Rule 266
Rule 43
Rule 5732
Rule 12
Rule 373
Rubi steps
\begin{align*} \int x^2 \left (d+c^2 d x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2 \, dx &=\frac{1}{7} d^2 x^3 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{7} (4 d) \int x^2 \left (d+c^2 d x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2 \, dx-\frac{1}{7} \left (2 b c d^2\right ) \int x^3 \left (1+c^2 x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right ) \, dx\\ &=\frac{2 b d^2 \left (1+c^2 x^2\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{35 c^3}-\frac{2 b d^2 \left (1+c^2 x^2\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{4}{35} d^2 x^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{7} d^2 x^3 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{35} \left (8 d^2\right ) \int x^2 \left (a+b \sinh ^{-1}(c x)\right )^2 \, dx-\frac{1}{35} \left (8 b c d^2\right ) \int x^3 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right ) \, dx+\frac{1}{7} \left (2 b^2 c^2 d^2\right ) \int \frac{\left (1+c^2 x^2\right )^2 \left (-2+5 c^2 x^2\right )}{35 c^4} \, dx\\ &=\frac{8 b d^2 \left (1+c^2 x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )}{105 c^3}+\frac{2 b d^2 \left (1+c^2 x^2\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{175 c^3}-\frac{2 b d^2 \left (1+c^2 x^2\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{8}{105} d^2 x^3 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{4}{35} d^2 x^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{7} d^2 x^3 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{\left (2 b^2 d^2\right ) \int \left (1+c^2 x^2\right )^2 \left (-2+5 c^2 x^2\right ) \, dx}{245 c^2}-\frac{1}{105} \left (16 b c d^2\right ) \int \frac{x^3 \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt{1+c^2 x^2}} \, dx+\frac{1}{35} \left (8 b^2 c^2 d^2\right ) \int \frac{-2+c^2 x^2+3 c^4 x^4}{15 c^4} \, dx\\ &=-\frac{16 b d^2 x^2 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{315 c}+\frac{8 b d^2 \left (1+c^2 x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )}{105 c^3}+\frac{2 b d^2 \left (1+c^2 x^2\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{175 c^3}-\frac{2 b d^2 \left (1+c^2 x^2\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{8}{105} d^2 x^3 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{4}{35} d^2 x^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{7} d^2 x^3 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{315} \left (16 b^2 d^2\right ) \int x^2 \, dx+\frac{\left (2 b^2 d^2\right ) \int \left (-2+c^2 x^2+8 c^4 x^4+5 c^6 x^6\right ) \, dx}{245 c^2}+\frac{\left (8 b^2 d^2\right ) \int \left (-2+c^2 x^2+3 c^4 x^4\right ) \, dx}{525 c^2}+\frac{\left (32 b d^2\right ) \int \frac{x \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt{1+c^2 x^2}} \, dx}{315 c}\\ &=-\frac{172 b^2 d^2 x}{3675 c^2}+\frac{818 b^2 d^2 x^3}{33075}+\frac{136 b^2 c^2 d^2 x^5}{6125}+\frac{2}{343} b^2 c^4 d^2 x^7+\frac{32 b d^2 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{315 c^3}-\frac{16 b d^2 x^2 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{315 c}+\frac{8 b d^2 \left (1+c^2 x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )}{105 c^3}+\frac{2 b d^2 \left (1+c^2 x^2\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{175 c^3}-\frac{2 b d^2 \left (1+c^2 x^2\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{8}{105} d^2 x^3 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{4}{35} d^2 x^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{7} d^2 x^3 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{\left (32 b^2 d^2\right ) \int 1 \, dx}{315 c^2}\\ &=-\frac{1636 b^2 d^2 x}{11025 c^2}+\frac{818 b^2 d^2 x^3}{33075}+\frac{136 b^2 c^2 d^2 x^5}{6125}+\frac{2}{343} b^2 c^4 d^2 x^7+\frac{32 b d^2 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{315 c^3}-\frac{16 b d^2 x^2 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{315 c}+\frac{8 b d^2 \left (1+c^2 x^2\right )^{3/2} \left (a+b \sinh ^{-1}(c x)\right )}{105 c^3}+\frac{2 b d^2 \left (1+c^2 x^2\right )^{5/2} \left (a+b \sinh ^{-1}(c x)\right )}{175 c^3}-\frac{2 b d^2 \left (1+c^2 x^2\right )^{7/2} \left (a+b \sinh ^{-1}(c x)\right )}{49 c^3}+\frac{8}{105} d^2 x^3 \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{4}{35} d^2 x^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{7} d^2 x^3 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )^2\\ \end{align*}
Mathematica [A] time = 0.396393, size = 227, normalized size = 0.75 \[ \frac{d^2 \left (11025 a^2 c^3 x^3 \left (15 c^4 x^4+42 c^2 x^2+35\right )-210 a b \sqrt{c^2 x^2+1} \left (225 c^6 x^6+612 c^4 x^4+409 c^2 x^2-818\right )-210 b \sinh ^{-1}(c x) \left (b \sqrt{c^2 x^2+1} \left (225 c^6 x^6+612 c^4 x^4+409 c^2 x^2-818\right )-105 a c^3 x^3 \left (15 c^4 x^4+42 c^2 x^2+35\right )\right )+2 b^2 c x \left (3375 c^6 x^6+12852 c^4 x^4+14315 c^2 x^2-85890\right )+11025 b^2 c^3 x^3 \left (15 c^4 x^4+42 c^2 x^2+35\right ) \sinh ^{-1}(c x)^2\right )}{1157625 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.046, size = 364, normalized size = 1.2 \begin{align*}{\frac{1}{{c}^{3}} \left ({d}^{2}{a}^{2} \left ({\frac{{c}^{7}{x}^{7}}{7}}+{\frac{2\,{c}^{5}{x}^{5}}{5}}+{\frac{{c}^{3}{x}^{3}}{3}} \right ) +{d}^{2}{b}^{2} \left ({\frac{ \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}cx \left ({c}^{2}{x}^{2}+1 \right ) ^{3}}{7}}-{\frac{8\, \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}cx}{105}}-{\frac{ \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}cx \left ({c}^{2}{x}^{2}+1 \right ) ^{2}}{35}}-{\frac{4\, \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}cx \left ({c}^{2}{x}^{2}+1 \right ) }{105}}-{\frac{2\,{\it Arcsinh} \left ( cx \right ){c}^{2}{x}^{2}}{49} \left ({c}^{2}{x}^{2}+1 \right ) ^{{\frac{5}{2}}}}-{\frac{36\,{\it Arcsinh} \left ( cx \right ){c}^{2}{x}^{2}}{1225} \left ({c}^{2}{x}^{2}+1 \right ) ^{{\frac{3}{2}}}}-{\frac{44\,{\it Arcsinh} \left ( cx \right ){c}^{2}{x}^{2}}{11025}\sqrt{{c}^{2}{x}^{2}+1}}+{\frac{1636\,{\it Arcsinh} \left ( cx \right ) }{11025}\sqrt{{c}^{2}{x}^{2}+1}}+{\frac{2\,cx \left ({c}^{2}{x}^{2}+1 \right ) ^{3}}{343}}-{\frac{181456\,cx}{1157625}}+{\frac{202\,cx \left ({c}^{2}{x}^{2}+1 \right ) ^{2}}{42875}}-{\frac{2528\,cx \left ({c}^{2}{x}^{2}+1 \right ) }{1157625}} \right ) +2\,{d}^{2}ab \left ( 1/7\,{\it Arcsinh} \left ( cx \right ){c}^{7}{x}^{7}+2/5\,{\it Arcsinh} \left ( cx \right ){c}^{5}{x}^{5}+1/3\,{\it Arcsinh} \left ( cx \right ){c}^{3}{x}^{3}-1/49\,{c}^{6}{x}^{6}\sqrt{{c}^{2}{x}^{2}+1}-{\frac{68\,{c}^{4}{x}^{4}\sqrt{{c}^{2}{x}^{2}+1}}{1225}}-{\frac{409\,{c}^{2}{x}^{2}\sqrt{{c}^{2}{x}^{2}+1}}{11025}}+{\frac{818\,\sqrt{{c}^{2}{x}^{2}+1}}{11025}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.22513, size = 836, normalized size = 2.76 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.70777, size = 755, normalized size = 2.49 \begin{align*} \frac{3375 \,{\left (49 \, a^{2} + 2 \, b^{2}\right )} c^{7} d^{2} x^{7} + 378 \,{\left (1225 \, a^{2} + 68 \, b^{2}\right )} c^{5} d^{2} x^{5} + 35 \,{\left (11025 \, a^{2} + 818 \, b^{2}\right )} c^{3} d^{2} x^{3} - 171780 \, b^{2} c d^{2} x + 11025 \,{\left (15 \, b^{2} c^{7} d^{2} x^{7} + 42 \, b^{2} c^{5} d^{2} x^{5} + 35 \, b^{2} c^{3} d^{2} x^{3}\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )^{2} + 210 \,{\left (1575 \, a b c^{7} d^{2} x^{7} + 4410 \, a b c^{5} d^{2} x^{5} + 3675 \, a b c^{3} d^{2} x^{3} -{\left (225 \, b^{2} c^{6} d^{2} x^{6} + 612 \, b^{2} c^{4} d^{2} x^{4} + 409 \, b^{2} c^{2} d^{2} x^{2} - 818 \, b^{2} d^{2}\right )} \sqrt{c^{2} x^{2} + 1}\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) - 210 \,{\left (225 \, a b c^{6} d^{2} x^{6} + 612 \, a b c^{4} d^{2} x^{4} + 409 \, a b c^{2} d^{2} x^{2} - 818 \, a b d^{2}\right )} \sqrt{c^{2} x^{2} + 1}}{1157625 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 17.3361, size = 483, normalized size = 1.59 \begin{align*} \begin{cases} \frac{a^{2} c^{4} d^{2} x^{7}}{7} + \frac{2 a^{2} c^{2} d^{2} x^{5}}{5} + \frac{a^{2} d^{2} x^{3}}{3} + \frac{2 a b c^{4} d^{2} x^{7} \operatorname{asinh}{\left (c x \right )}}{7} - \frac{2 a b c^{3} d^{2} x^{6} \sqrt{c^{2} x^{2} + 1}}{49} + \frac{4 a b c^{2} d^{2} x^{5} \operatorname{asinh}{\left (c x \right )}}{5} - \frac{136 a b c d^{2} x^{4} \sqrt{c^{2} x^{2} + 1}}{1225} + \frac{2 a b d^{2} x^{3} \operatorname{asinh}{\left (c x \right )}}{3} - \frac{818 a b d^{2} x^{2} \sqrt{c^{2} x^{2} + 1}}{11025 c} + \frac{1636 a b d^{2} \sqrt{c^{2} x^{2} + 1}}{11025 c^{3}} + \frac{b^{2} c^{4} d^{2} x^{7} \operatorname{asinh}^{2}{\left (c x \right )}}{7} + \frac{2 b^{2} c^{4} d^{2} x^{7}}{343} - \frac{2 b^{2} c^{3} d^{2} x^{6} \sqrt{c^{2} x^{2} + 1} \operatorname{asinh}{\left (c x \right )}}{49} + \frac{2 b^{2} c^{2} d^{2} x^{5} \operatorname{asinh}^{2}{\left (c x \right )}}{5} + \frac{136 b^{2} c^{2} d^{2} x^{5}}{6125} - \frac{136 b^{2} c d^{2} x^{4} \sqrt{c^{2} x^{2} + 1} \operatorname{asinh}{\left (c x \right )}}{1225} + \frac{b^{2} d^{2} x^{3} \operatorname{asinh}^{2}{\left (c x \right )}}{3} + \frac{818 b^{2} d^{2} x^{3}}{33075} - \frac{818 b^{2} d^{2} x^{2} \sqrt{c^{2} x^{2} + 1} \operatorname{asinh}{\left (c x \right )}}{11025 c} - \frac{1636 b^{2} d^{2} x}{11025 c^{2}} + \frac{1636 b^{2} d^{2} \sqrt{c^{2} x^{2} + 1} \operatorname{asinh}{\left (c x \right )}}{11025 c^{3}} & \text{for}\: c \neq 0 \\\frac{a^{2} d^{2} x^{3}}{3} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.76466, size = 853, normalized size = 2.82 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]